﻿using Pattern17状态模式.Interface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern17状态模式.Models
{
    public class ChildState : IState
    {
        public int Flag => 4;

        public void Handle(IContext context)
        {
            Console.WriteLine("正在进行子板检测...");

            context.SetState(new ExitState());
        }
    }
}
